﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

//pass: US6ss6rY5dP7

namespace PTUDW_CNTN2010_F_CDT.Models
{
    public class EcommerceDBContext : DbContext
    {
        public EcommerceDBContext() : base("name=ChoOnLine")
        {
        }

        public DbSet<Category> Categories { get; set; }
        public DbSet<Product> Products { get; set; }
        public DbSet<Province> Provinces { get; set; }
        public DbSet<Customer> Customers { get; set; }
        public DbSet<Cart> Carts { get; set; }
        public DbSet<Order> Orders { get; set; }
        public DbSet<OrderDetail> OrderDetails { get; set; }
        public DbSet<Comment> Comments { get; set; }
        public DbSet<Language> Languages { get; set; }
        public DbSet<Gender> Genders { get; set; }

        public DbSet<Image> Images { get; set; }
        public DbSet<Ad> Ads { get; set; }

        public DbSet<SkypeChat> SkypeChats { get; set; }
    }
}